package top.lidee.repository.model.twice.vo.management;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.URL;
import top.lidee.repository.model.twice.vo.applet.SpecialQualificationVo;
import top.lidee.repository.validator.constraints.Phone;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author 张一恒
 * @version 1.0
 * @description: 证照信息第二步校验
 *      * 经营资料
 * @date 2024/10/9 08:56
 */
@Data
public class BusinessInformationCheckVo {

    //<editor-fold desc="经营资料">

    @ApiModelProperty("联系电话")
    @Phone
    private String phone;

    @ApiModelProperty("主营分类ID(2级)")
    @NotNull(message = "主营分类不能为空")
    private Integer cateId;

    @ApiModelProperty("特殊资质照片url集合")
    private List<SpecialQualificationVo> specialQualificationVos;

    @ApiModelProperty("店铺名称/店铺简称/线下场所名称")
    @NotNull(message = "店铺名称/店铺简称/线下场所名称不能为空")
    private String name;


    @ApiModelProperty("省份")
    private String province;

    @ApiModelProperty("城市")
    @NotBlank(message = "城市不能为空")
    private String city;

    @ApiModelProperty("区/县")
    private String county;

    @ApiModelProperty("门头照片url")
    @URL(message = "门头照片url不正确")
    private String doorPhotographUrl;

    @ApiModelProperty("内景照片url")
    @URL(message = "内景照片url不正确")
    private String interiorUrl;
    //</editor-fold>

}
